﻿<%@ Page Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true" CodeBehind="Edit.aspx.cs" Inherits="Cn.Cellula.Website.Admin.Content.StandList.Edit" Title="编辑新闻" %>
<%@ Register src="../../../Wuc/Wuc_RichEditor.ascx" tagname="Wuc_RichEditor" tagprefix="uc2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link type="text/css" rel="Stylesheet" href="/Cellula_Client/controls/JskitControls.css" />
    <script type="text/javascript" src="/jskit.org/model/controls/JskitRichDropDownList.js"></script>
    <script type="text/javascript">
    var jrddlCategory = new JskitRichDropDownList("jrddlCategory");
    function PageOnLoad(){
        jrddlCategory.deployTree(fixId("txt_ListType"),fixId("hid_ListType"),"Ws/_Category.aspx?ok=&rk=&t=category_list");
    }
    </script>
    <uc2:Wuc_RichEditor ID="Wuc_RichEditor1" runat="server" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="CPH_PageTitle" runat="server">
编辑列表项
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="CPH_MainBody" runat="server">
    <asp:HiddenField runat="server" ID="hid_ListType" />
    <div class="action_bar">
        <asp:Button ID="btn_save" runat="server" Text="保存" OnClick="btn_save_Click" />
        <input type="reset" value="重置" />
        <input type="button" onclick="jskitBulter.redirect('Admin/Content/StandList/List.aspx')" value="取消" />
    </div>
    <fieldset>
        <legend>列表项信息</legend>
        <table border="0" cellpadding="0" cellspacing="0" class="edit_form">
            <tr>
                <td class="edit_form_item_title">
                    <span class="required">分类：</span>
                </td>
                <td class="edit_form_item_content">
                    <asp:TextBox runat="server" ID="txt_ListType"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="edit_form_item_title">
                    <span class="required">标题：</span>
                </td>
                <td class="edit_form_item_content" colspan="3">
                    <asp:TextBox runat="server" ID="txt_Title" Width="400px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="edit_form_item_title">
                    <span class="required">置顶：</span>
                </td>
                <td class="edit_form_item_content">
                    <asp:RadioButtonList runat="server" ID="cbl_Top" RepeatDirection="Horizontal">
                        <asp:ListItem Value="1">是</asp:ListItem>
                        <asp:ListItem Value="0" Selected="True">否</asp:ListItem>
                    </asp:RadioButtonList>
                </td>
            </tr>
            <tr>
                <td class="edit_form_item_title">
                    <span class="required">头条：</span>
                </td>
                <td class="edit_form_item_content">
                    <asp:RadioButtonList runat="server" ID="cbl_Headline" RepeatDirection="Horizontal">
                        <asp:ListItem Value="1">是</asp:ListItem>
                        <asp:ListItem Value="0" Selected="True">否</asp:ListItem>
                    </asp:RadioButtonList>
                </td>
            </tr>
            <tr>
                <td class="edit_form_item_title">
                    <span class="required">时间戳：</span>
                </td>
                <td class="edit_form_item_content" colspan="3">
                    <asp:TextBox runat="server" ID="txt_StampTime"  onclick="jskitDateSelector.setMode('dt');jskitDateSelector.open(this,event)"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="edit_form_item_title">
                    链接：
                </td>
                <td class="edit_form_item_content" colspan="3">
                    <asp:TextBox runat="server" ID="txt_Url"  Width="400px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="edit_form_item_title" valign="top">
                    内容：
                </td>
                <td class="edit_form_item_content" colspan="3">
                    <asp:TextBox runat="server" TextMode="MultiLine" Width="700px" Height="400px" 
                        ID="txt_Content"></asp:TextBox>
                </td>
            </tr>
        </table>
    </fieldset>
</asp:Content>
